﻿/*
 *  Copyright (c) 2014-Present, Facebook, Inc.
 *  All rights reserved.
 *
 *  This source code is licensed under the BSD-style license found in the
 *  LICENSE file in the root directory of this source tree. An additional grant 
 *  of patent rights can be found in the PATENTS file in the same directory.
 */

using React;
using ZLWeChatCard;

[assembly: WebActivatorEx.PreApplicationStartMethod(typeof(ReactConfig), "Configure")]

namespace ZLWeChatCard
{
    public static class ReactConfig
    {
        public static void Configure()
        {
            ReactSiteConfiguration.Configuration
                .SetLoadBabel(true)
                .AddScriptWithoutTransform("~/build/server.bundle.js");
            //ReactSiteConfiguration.Configuration
            //    .SetReuseJavaScriptEngines(true)
            //    .AddScript("~/Content/components/Banner.jsx")
            //    .AddScript("~/Content/components/Dropdown.jsx");
        }
    }
}